#ifndef CHEBYSHEV_6TH_256_H_
#define CHEBYSHEV_6TH_256_H_

#include <Arduino.h>
#include "mozzi_pgmspace.h"

/* table for waveshaper using chebyshev polynomials
*/

#define CHEBYSHEV_6TH_256_NUM_CELLS 256
CONSTTABLE_STORAGE(int8_t) CHEBYSHEV_6TH_256_DATA [] =
        {
	127, 93, 62, 34, 8, -14, -34, -52, -68, -81, -93, -102, 
	-110, -117, -121, -125, -127, -127, -127, -126, -123, -120, -116, -111, 
	-106, -100, -93, -86, -79, -71, -63, -55, -46, -38, -29, -21, 
	-12, -4, 4, 12, 20, 28, 36, 44, 51, 59, 65, 72, 
	78, 84, 90, 95, 100, 104, 108, 112, 115, 118, 121, 123, 
	124, 126, 127, 127, 127, 127, 127, 126, 125, 123, 121, 119, 
	116, 113, 110, 107, 103, 99, 95, 90, 85, 80, 75, 70, 
	65, 59, 53, 48, 42, 36, 30, 24, 17, 11, 5, 0, 
	-6, -13, -19, -25, -31, -37, -43, -48, -54, -59, -65, -70, 
	-75, -80, -84, -89, -93, -97, -101, -104, -108, -111, -114, -116, 
	-119, -121, -122, -124, -125, -126, -127, -127, -127, -127, -127, -126, 
	-125, -124, -122, -121, -119, -116, -114, -111, -108, -104, -101, -97, 
	-93, -89, -84, -80, -75, -70, -65, -59, -54, -48, -43, -37, 
	-31, -25, -19, -13, -6, 0, 5, 11, 17, 24, 30, 36, 
	42, 48, 53, 59, 65, 70, 75, 80, 85, 90, 95, 99, 
	103, 107, 110, 113, 116, 119, 121, 123, 125, 126, 127, 127, 
	127, 127, 127, 126, 124, 123, 121, 118, 115, 112, 108, 104, 
	100, 95, 90, 84, 78, 72, 65, 59, 51, 44, 36, 28, 
	20, 12, 4, -4, -12, -21, -29, -38, -46, -55, -63, -71, 
	-79, -86, -93, -100, -106, -111, -116, -120, -123, -126, -127, -127, 
	-127, -125, -121, -117, -110, -102, -93, -81, -68, -52, -34, -14, 
	8, 34, 62, 93, 
        };

#endif /* CHEBYSHEV_6TH_256_H_ */
